package com.vanysoft.framework.utils.email;

/**
 * 类名称：EmailServerInfo
 * 类描述    邮件服务器实体类
 * 创建人：SharpClaw_x
 * 创建时间：2017年8月10日 上午10:41:58
 * 修改人  SharpClaw_x
 * 修改时间：2017年8月10日 上午10:41:58
 * 版本信息：@version 1.0
 * Copyright (c) 2017 上海SharpClaw科技股份有限公司-版权所有
 * 修改备注：
 */
public class EmailServerInfo {

    private String sendServer; //发件服务器
    private String port;  //端口
    private String sendUserName;//发件邮箱用户名
    private String sendPassword;//发件箱密码

    public EmailServerInfo() {
        super();
    }

    public EmailServerInfo(String sendServer, String port, String sendUserName, String sendPassword) {
        super();
        this.sendServer = sendServer;
        this.port = port;
        this.sendUserName = sendUserName;
        this.sendPassword = sendPassword;
    }

    public String getSendServer() {
        return sendServer;
    }

    public void setSendServer(String sendServer) {
        this.sendServer = sendServer;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getSendUserName() {
        return sendUserName;
    }

    public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName;
    }

    public String getSendPassword() {
        return sendPassword;
    }

    public void setSendPassword(String sendPassword) {
        this.sendPassword = sendPassword;
    }

    @Override
    public String toString() {
        return "{\"sendServer\":\"" + sendServer + "\",\"port\":\"" + port + "\","
                + "\"sendUserName\":\"" + sendUserName + "\",\"sendPassword\":\"" + sendPassword + "\"}";
//		return "EmailServerInfo [sendServer=" + sendServer + ", port=" + port + ", sendUserName=" + sendUserName
//				+ ", sendPassword=" + sendPassword + "]";
    }


}
